<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021-04-07
  Time: 12:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>SB Admin</title>
    <!-- Bootstrap core CSS-->
    <link href="statics/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <!-- Custom fonts for this template-->
    <link href="statics/vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <!-- Custom styles for this template-->
    <link href="statics/css/sb-admin.css" rel="stylesheet">
    <script type="text/javascript">
        function flesh_captcha() {
            $("#captcha").attr("src", "captcha.action?" + new Date());
        }
    </script>
</head>

<body class="bg-dark">
<div class="container">
    <div class="card card-login mx-auto mt-5">
        <div class="card-header">登录</div>
        <div class="card-body">
            <form action="login.action" method="post">
                <div class="form-group">
                    <label for="lId">用户账号</label>
                    <input class="form-control" name="lId" id="lId" VALUE="${lId}" type="text"
                           aria-describedby="emailHelp" placeholder="请输入账号">
                    <c:set var="lId" value="${lId}"></c:set>
                    <p style="color: red">
                        <c:if test="${lId!=null}">请牢记唯一标识，以后登录使用</c:if>
                    </p>
                </div>
                <div class="form-group">
                    <label for="lPass">密码</label>
                    <input class="form-control" name="lPass" id="lPass" type="password" placeholder="密码">
                </div>
                <div class="form-group">
                    <img id="captcha" src="captcha.action" onclick="flesh_captcha()"><br><br>
                    <label for="simpleCaptcha">验证码</label>
                    <input type="text" class="form-control" id="simpleCaptcha" name="captcha" placeholder="请输入验证码">
                    <p style="color: red">${mess}</p>
                </div>
                <%--<div class="form-group">
                    <div class="form-check">
                        <label class="form-check-label">
                            <input class="form-check-input" type="checkbox"> 请记住你的密码</label>
                    </div>
                </div>--%>
                <input class="btn btn-primary btn-block" type="submit" value="登录">
            </form>
            <div class="text-center">
                <a class="d-block small mt-3" href="toeasyregist.action">注册一个账户</a>
                <a class="d-block small" href="toresetpass.action">修改密码</a>
            </div>
        </div>
    </div>
</div>
<!-- Bootstrap core JavaScript-->
<script src="statics/vendor/jquery/jquery.min.js"></script>
<script src="statics/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Core plugin JavaScript-->
<script src="statics/vendor/jquery-easing/jquery.easing.min.js"></script>
</body>

</html>

</body>
</html>
